import time
# 旋转动画
symbols = ['|', '/', '-', '\\']
for i in range(20):
    print(f"\r加载中 {symbols[i % 4]}", end="", flush=True)
    time.sleep(0.2)
print("\r加载完成！      ")